chore: make just clean reclaim full build cache - #72
Merged
Conversation
The clean recipe ran `cargo clean` + removed generated CSS and the dev DB, but left two large regenerable artifacts behind: - `bin/tailwindcss` (~76 MB) — re-downloaded by `just tailwind` - `.playwright-mcp/` (~7.4 MB) — recreated on the next MCP run Add both to the `rm -rf` line so `just clean` fully reclaims the build cache (target/ ~51 GB via cargo clean, plus the above). Recipe stays idempotent; only safely regenerable output is touched (source, migrations, .planning, backups/, and .tmp/ are untouched). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VJ7bEMZp8H4Ef8ejg55HeX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
just cleannow fully reclaims the regenerable build cache. The recipe already rancargo cleanand removed generated CSS,.sqlx/tmp, and the dev DB — but two large regenerable artifacts were left behind. This adds them to therm -rfline.Why
target/alone was consuming ~51 GB, andjust cleanleft behind:bin/tailwindcssjust tailwind(re-downloads the standalone binary).playwright-mcp/target/(~51 GB) was already handled bycargo clean, which covers the sole root crate (no workspace / extra manifests).Scope / safety
cargo clean+rm -rfguards don't fail on missing paths.migrations/,.planning/,backups/(intentional pre-update snapshots), and.tmp/(ad-hoc scratch).cronduit.dev.db) deletion is unchanged from prior behavior.Verification
just clean→ exit 0, idempotent (clean ran withtarget/already absent without error); all listed paths confirmed gone.just buildfrom a coldtarget/→ exit 0,target/debug/cronduitbinary produced,target/regenerated cleanly.🤖 Generated with Claude Code
https://claude.ai/code/session_01VJ7bEMZp8H4Ef8ejg55HeX